package com.yonyougov.devops.cruxcisupport.k8s;

import com.yonyougov.devops.cruxcisupport.k8s.error.K8sConfIgNotFindException;
import io.fabric8.kubernetes.client.Config;
import io.fabric8.kubernetes.client.KubernetesClient;

public interface K8sRepository {
    /**
     * 创建客户端 默认加载当前用户下.kube文件夹下的config配置文件
     * @return KubernetesClient
     * @throws K8sConfIgNotFindException
     */
    KubernetesClient createDefaultClient(String envName) throws K8sConfIgNotFindException;
}
